Skip to content

Update Haskell package set to LTS 15.3 (plus other fixes)#82345

Merged
peti merged 14 commits intomasterfrom
haskell-updates
Mar 13, 2020
Merged

Update Haskell package set to LTS 15.3 (plus other fixes)#82345
peti merged 14 commits intomasterfrom
haskell-updates

Conversation

@peti
Copy link
Member

@peti peti commented Mar 11, 2020

This PR is test-built by Hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll fix up the remaining errors and merge it on Friday, 2020-03-13 20:00 CET. You can watch this live on Twitch at https://www.twitch.tv/peti343.

TODO

@ofborg ofborg bot added 6.topic: haskell General-purpose, statically typed, purely functional programming language 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Mar 11, 2020
@domenkozar
Copy link
Member

@GrahamcOfBorg build cachix

@peti peti force-pushed the haskell-updates branch from 98e9f57 to a240100 Compare March 13, 2020 11:55
@ofborg ofborg bot added 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. and removed 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Mar 13, 2020
@peti peti force-pushed the haskell-updates branch from 0cda62d to 9c0212e Compare March 13, 2020 19:15
peti and others added 12 commits March 13, 2020 20:18
Current, the `cabal2nix` derivation contains both the executable, and a wrapper
that adds `nix` and `nix-prefetch-scripts`, which are required for some
features.

However, when calling `callCabal2nix` to create a derivation from a cabal file
at evaluation time,
these features are not actually used, but the huge closure of
`nix-prefetch-scripts` (which includes multiple vcs, as well as python and perl)
still needs to be fetched.

This commit splits cabal2nix into a lightweight version that is a standalone
static binary (`cabal2nix-unwrapped`), and a wrapper that includes the proper
dependencies in the path for full usage of the command line
utility (`cabal2nix`).

This commit also switches to the default ghc, to reduce the likelyhood of
building a different ghc when calling `callCabal2nix`.
The tests fail to compile because of a missing module but would
otherwise be fine.
tests need a running mysql instance, so disable them
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@peti peti force-pushed the haskell-updates branch from 9c0212e to 2f1e1b1 Compare March 13, 2020 19:25
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
commercialhaskell/all-cabal-hashes@a155538.
@peti peti force-pushed the haskell-updates branch from b237640 to d02ac6c Compare March 13, 2020 19:31
@peti peti merged commit 2d08e57 into master Mar 13, 2020
@peti
Copy link
Member Author

peti commented Mar 18, 2020

Next week, we'll merge #82849.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants